<script src="${rc.getContextPath()}/manage/js/dwzCustomJs/dwz.custom.advancedquery.js?v=${ver}" type="text/javascript"></script>

<#include "/common/pagerForm.html">

<form rel="pagerForm" method="post" action="${rc.getContextPath()}/manage/equipmentPart/partLookup" onsubmit="return dwzSearch(this, 'dialog');">
            <input type="hidden" id="advancedStatus" name="advancedStatus"
                value="${condition.advancedStatus!''}" />
    <div class="pageHeader">
        <div class="searchBar part" >
            <ul class="searchContent">
                <li ><label id="partCode"><@label key="partCode.C,colon">备件编号：</@label></label> <input type="text" class="textInput" name="partCode" value="${condition.partCode!''}" /></li>
                <li ><label id="partText"><@label key="partText.C,colon">备件描述：</@label></label> <input type="text" class="textInput" name="partText" value="${condition.partText!''}" /></li>
            </ul>
            <ul class="searchContent">
                <li ><label id="applicableEquipment"><@label key="applicableEquipment.C,colon">应用设备：</@label></label> <input type="text" class="textInput" name="applicableEquipment" value="${condition.applicableEquipment!''}" /></li>
                <li><label> <@label key='specModel.C,colon'>规格型号：</@label> </label> <input type="text" name="specModel" value="${condition.specModel!''}" /></li>
                <li class="query">
                    <div class="buttonActive">
                        <div class="buttonContent">
                            <button type="submit"><@label key="query.B">查询</@label></button>
                        </div>
                    </div>
                </li>
            </ul>
        </div>
    </div>
<div class="pageContent">

    <table class="table border" width="100%"  style="overflow:scroll;" layoutH="170">
        <thead>
            <tr>
                <th width="22"><input type="checkbox" group="ids" class="checkboxCtrl"></th>
                <th width="40"><@label key="serialNumber.C">序号</@label></th>
                <th width="100" orderField="partCode"<#if (page.orderField?? && page.orderField == 'partCode')>class="${page.orderDirection!''}"</#if>><@label key="partCode.C">维修类别编号</@label></th>
                <th width="100" orderField="partText"<#if (page.orderField?? && page.orderField == 'partText')>class="${page.orderDirection!''}"</#if>><@label key="partText.C">维修类别描述</@label></th>
                <th width="100" orderField="specModel"<#if (page.orderField?? && page.orderField == 'specModel')>class="${page.orderDirection!''}"</#if>><@label key="specModel.C">规格型号</@label></th>
                <th width="100" orderField="applicableEquipment"<#if (page.orderField?? && page.orderField == 'applicableEquipment')>class="${page.orderDirection!''}"</#if>><@label key="applicableEquipment.C">应用设备</@label></th>
                <th width="100" orderField="memo"<#if (page.orderField?? && page.orderField == 'memo')>class="${page.orderDirection!''}"</#if>><@label key="memo.C">应用设备</@label></th>
            </tr>
        </thead>
        <tbody>
            <#if page??><#if (page.data?size>0)> <#list page.data as part>
            <tr target="part_code" rel="${part.partCode!''}" >
                <td><input name="ids" value="{partCode:'${part.partCode!''}', partText:'${part.partText!''}' }" type="checkbox"></td>
                <td>${page.startRow + part_index}</td>
                <td>${part.partCode!''}</td>
                <td>${part.partText!''}</td>
                <td>${part.specModel!''}</td>
                <td>${part.applicableEquipment!''}</td>
                <td>${part.memo!''}</td>

            </tr>
            </#list> <#else>
                <tr >
                <td colspan="7"  class="noData">======<@label key="noListData.C">列表无数据</@label>=====
                </td>
            </tr>
            </#if> <#else>
            <tr >
                <td colspan="7"  class="noData">======<@label key="noListData.C">列表无数据</@label>=====
                </td>
            </tr>
            </#if>
        </tbody>
    </table>
        <#include "/common/dialogPanelBar.html">
    
</div>


<div class="formBar">
        <ul>
            <li><div class="buttonActive"><div class="buttonContent"><button type="button" multLookup="ids" warn="请选择">确定</button></div></div></li>
            <li>
            <div class="buttonActiveGrey" >
                        <div class="buttonContent" >
                            <button class="close" type="button"><@label key="close.B">关闭</@label></button>
                        </div>
                    </div>
            </li>
        
        </ul>
    </div>